<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/taglibs-struts2.jsp" %>

<form name="searchform" action="flightOrderAction!searchSimpleOrder.action" method="post">
<div class="right2">
  <div class="right600b"><h2><img src="<c:url value="/images/r101.jpg"/>"/></h2><h2 class="r101">查询自助订单</h2>
  <h2><img src="<c:url value="/images/r103.jpg"/>"/></h2></div>
  <div class="rightk">
  <h3>提交日期：</h3>
  <h2><input type="text" name="createdDate" onfocus="HS_setDate(this)" style="width: 100px;" value="<c:out value="${param['createdDate']}"/>"/>
</h2>
  <h2> </h2>
  <h2> </h2>
  </div>
<div class="rightk">
  <h3>订单号：</h3>
  <h2><input type="text" name="orderno" size="20" value="<c:out value="${param['orderno']}"/>"/>
</h2></div>
<div class="rightk">
  <h3>行程关键字：</h3>
  <h2>
    <input type="text" size="20" name="tripkeyword" value="<c:out value="${param['tripkeyword']}"/>"/>
</h2>
</div>

<div class="rightk2"><h3/><h2><img height="22" border="0" width="90" src="<c:url value="/images/t03.jpg"/>" onclick="submitSearch();"/></h2>
<h2><img height="20" width="60" src="<c:url value="/images/t04.jpg"/>"/></h2>
</div>
</form>

<script type="text/javascript">
function submitSearch(){
window.document.searchform.submit();
}
</script>

<div class="right600k"><h2><img src="<c:url value="/images/r101.jpg"/>"/></h2><h2 class="r102">人工订单列表页面</h2>
<h2><img src="<c:url value="/images/r103.jpg"/>"/></h2></div>
<div class="r207">
  <h2 class="r100">订单号</h2>
  <h2 class="r100">提交日期</h2>
  <h2 class="r400">行程</h2>

</div>
<!--这里循环-->
<c:forEach var="order" items="${orderList}">
<div class="r208">
  <h2 class="r100"><a target=_blank href="<c:url value="flightOrderAction!simpleOrderDetail.action"><c:param name="orderId" value="${order.id}"/></c:url>"><c:out value="${order.orderno}"/></a></h2>
  <h2 class="r100"><fmt:formatDate value="${order.createdDate}" pattern="yyyy-MM-dd"/></h2>
  <h2 class="r400"><c:out value="${order.tripDetail}"/></h2>
</div>
</c:forEach>

</div>